#pragma once
#ifndef ENTITYEXPLOSION_H
#define ENTITYEXPLOSION_H

#include "WorldEntity.h"

class CEntityExplosion: public CWorldEntity
{
private:
	int indexAnimation;
	int currentFrameAnimation;
	int timeLastFrame;
	int offsetSpawnX;
	int offsetSpawnY;

public:
	CEntityExplosion::CEntityExplosion(int currentPosX, int currentPosY, int indexAnimation, int offsetSpawnX, int offsetSpawnY, bool active);
	CEntityExplosion::CEntityExplosion(void);
	CEntityExplosion::~CEntityExplosion(void);

	void CEntityExplosion::update(void);
	void CEntityExplosion::render(void);

	int CEntityExplosion::getIndexAnimation(void)const;
	int CEntityExplosion::getCurrentFrameAnimation(void)const;
	int CEntityExplosion::getTimeLastFrame(void)const;
	int CEntityExplosion::getOffsetSpawnX(void)const;
	int CEntityExplosion::getOffsetSpawnY(void)const;

	void CEntityExplosion::setIndexAnimation(int indexAnimation);
	void CEntityExplosion::setCurrentFrameAnimation(int currentFrameAnimation);
	void CEntityExplosion::setTimeLastFrame(int timeLastFrame);
	void CEntityExplosion::setOffsetSpwanX(int offsetSpawnX);
	void CEntityExplosion::setOffsetSpwanY(int offsetSpawnY);

};

#endif